package com.carkeeper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.carkeeper.dto.StoreDTO;
import com.carkeeper.pojo.AbstractBasePO;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;
import java.util.Date;
@TableName("tb_bill")/*账单*/
@Data
public class BillPO extends AbstractBasePO {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private String code;
    private Long orderId;
    private Long storeId;
    private String storeName;
    private String summary;
    private Integer type;
    private  String subtypeName;
    private Integer price;
    private Integer payState;
    private String accountsCode;
    private Integer isDelete;
    @TableField(exist = false)
    private OrderPO orderPO;
    @TableField(exist = false)
    private StoreDTO storeDTO;

}
